<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0042)http://js.itivy.com/jiaoben1892/index.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>HTML5浪漫爱心表白动画在线演示</title>

<style type="text/css">
@font-face {
	font-family: digit;
	src: url('digital-7_mono.ttf') format("truetype");
}
</style>

<link href="biaobai2_files/default.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="biaobai2_files/jquery.js"></script>
<script type="text/javascript" src="biaobai2_files/garden.js"></script>
<script type="text/javascript" src="biaobai2_files/functions.js"></script>

</head>

<body>
<div style="text-align:center;clear:both;">
<script type="text/javascript">
</script>

</script>
<div style="display:none"><script language="javascript" type="text/javascript" src="./HTML5浪漫爱心表白动画在线演示_files/4473358.js"></script><a href="http://www.51.la/?4473358" target="_blank"><img alt="51.la 专业、免费、强健的访问统计" src="biaobai2_files/icon_0.gif" style="border:none"></a>
</div><style type="text/css">.source-url{font-size:15px;text-align:center}</style>

<script src="biaobai2_files/follow.js" type="text/javascript"></script>
</div>
<div id="mainDiv">
	<div id="content" style="width: 1110px; height: 625px; margin-top: 10px; margin-left: 119.5px;">
		<div id="code" style="margin-top: 112.5px;">
	</div>
		<div id="loveHeart">
			<canvas id="garden" width="670" height="625"></canvas>
			<div id="words">
				<div id="messages">
					亲爱的奶茶，这是我们相爱在一起的时光。
					<div id="elapseClock"><span class="digit">306</span> days <span class="digit">02</span> hours <span class="digit">31</span> minutes <span class="digit">56</span> seconds</div>
				</div>
				<div id="loveu">
					爱你直到永永远远。<br>
					<div class="signature">-</div>
				</div>
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
var offsetX = $("#loveHeart").width() / 2;
var offsetY = $("#loveHeart").height() / 2 - 55;
var together = new Date();
together.setFullYear(2013, 2, 28);
together.setHours(20);
together.setMinutes(0);
together.setSeconds(0);
together.setMilliseconds(0);

if (!document.createElement('canvas').getContext) {
	var msg = document.createElement("div");
	msg.id = "errorMsg";
	msg.innerHTML = "Your browser doesn't support HTML5!&lt;br/>Recommend use Chrome 14+/IE 9+/Firefox 7+/Safari 4+";
	document.body.appendChild(msg);
	$("#code").css("display", "none")
	$("#copyright").css("position", "absolute");
	$("#copyright").css("bottom", "10px");
	document.execCommand("stop");
} else {
	setTimeout(function () {
		startHeartAnimation();
	}, 5000);

	timeElapse(together);
	setInterval(function () {
		timeElapse(together);
	}, 500);

	adjustCodePosition();
	$("#code").typewriter();
}
</script>


</body></html>